package cn.schoolwow.quickdao.test.module.business.user.dml.user.testcase;

import cn.schoolwow.quickdao.test.module.business.user.dml.user.flow.add.AddUserInstanceListProcessFlow;
import cn.schoolwow.quickdao.test.module.business.user.dml.user.flow.add.RebuildUserFlow;
import cn.schoolwow.quickdao.test.module.business.user.dml.user.flow.compare.CompareUserInstanceListFlow;
import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;

public class CompareUserInstanceListTestCase2Flow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        flowContext.startFlow(new RebuildUserFlow())
                .next(new AddUserInstanceListProcessFlow())
                .next(new CompareUserInstanceListFlow())
                .execute();
    }

    @Override
    public String name() {
        return "比较用户实例测试用例2";
    }
}
